package com.yic.module.qms.controller.admin.inspectprocess.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.yic.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.yic.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 过程检验分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class InspectProcessPageReqVO extends PageParam {

    @Schema(description = "检验单号")
    private String code;

    @Schema(description = "工厂", example = "25312")
    private Long factoryId;

    @Schema(description = "生产工单", example = "15327")
    private Long moId;

    @Schema(description = "产品生产ID", example = "8292")
    private Long itemProduceId;

    @Schema(description = "工序ID", example = "58")
    private Long processId;

    @Schema(description = "检测人", example = "8619")
    private Long userId;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
